package com.peace.hospital.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/contacts")
public class ContactsController {

    @RequestMapping(method = RequestMethod.GET,value = {"","/","/index.html"})
    @ResponseBody
    public String test() {
        System.out.println(1111);
        return "haha";
    }
}
